package snailAI.Controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import snailAI.mapper.ESWoniuMallMapper;

@RestController
@RequestMapping("/api")
public class MallController {
    @Autowired
    ESWoniuMallMapper esWoniuMallMapper;
    @GetMapping("/rr")
    public void mallSearch(){
        

                esWoniuMallMapper.findAllByDescriptionLike("IT出版社").forEach( x->{System.out.println(x.getDescription());});
    }


}
